import request from '@/utils/request'

// 用户信息详情
export function userInfo(userId) {
  return request({
    url: '/registered/users/'+ userId,
    method: 'get'
  })
}

// 用户车辆认证信息
export function userRz(query) {
  return request({
    url: '/chargeElectric/vehicleInfo/list',
    method: 'get',
    params: query
  })
}

// 用户余额明细
export function userBalance(query) {
  return request({
    url: '/balance/list',
    method: 'get',
    params: query
  })
}
// 用户卡券转赠记录
export function userGivingList(query) {
  return request({
    url: '/vip/order/givingList',
    method: 'get',
    params: query
  })
}

//用户换电订单
export function userElectricOrderList(query) {
  return request({
    url: '/electricOrder/list',
    method: 'get',
    params: query
  })
}

// 保养订单详情
export function userJune(query) {
  return request({
    url: '/zq/june/list',
    method: 'get',
    params: query
  })
}


